from cartopy.io import shapereader

# 获取文件路径信息，没有则下载
filename = shapereader.natural_earth(resolution='110m', category='cultural', name='admin_0_countries')

# 创建地理文件阅读器对象
reader = shapereader.Reader(filename)
# 获取数据
for record in reader.records():
    print(record)
